$(function(){
	$("#form").validate({
        rules : {
        	"zbmx.zbId":{min:1},
        	"zbmx.rqDate":{required:true},
        	"zbmx.jfje":{required:true,number:true},
        	"zbmx.dfje":{required:true,number:true},
        	"zbmx.zy":{required:true}
        },
        messages:{
        	"zbmx.zbId":{min: '请选择 现金帐号!'},
        	"zbmx.rqDate":{required: '请选择 记账日期!'},
        	"zbmx.jfje":{required:'请输入 借方金额!',number: '借方金额必须是有效值!'},
        	"zbmx.dfje":{required: '请输入 贷方金额!',number: '贷方金额必须是有效值!'},
        	"zbmx.zy":{required:'请输入 摘要!'}
        }
	});
})